#include <PasswordPanel.hh>
Definition at line 32 of file PasswordPanel.hh.
Public Member Functions | |
| PasswordPanel () | |
| Creates a new PasswordPanel. | |
| void | setPassword (const Password *password) |
| Sets the password string drawn by this PasswordPanel. | |
Private Member Functions | |
| wxPoint | getLetterPos (wxChar letter) const |
| Gets the upper-left corner position of a letter in the alphabet bitmap. | |
| void | onEraseBackground (wxEraseEvent &event) |
| Called to erase the background on this PasswordPanel. | |
| void | onPaint (wxPaintEvent &event) |
| Called to paint this PasswordPanel. | |
Private Attributes | |
| wxBitmap | alphabet |
| const Password * | password |
Static Private Attributes | |
| static const int | START_X = 4 |
| static const int | START_Y = 4 |
| static const int | CHARS_PER_ROW = 13 |
| static const int | CHAR_WIDTH = 16 |
| static const int | CHAR_HEIGHT = 16 |
| PasswordPanel::PasswordPanel | ( | ) |
| wxPoint PasswordPanel::getLetterPos | ( | wxChar | letter | ) | const [private] |
Gets the upper-left corner position of a letter in the alphabet bitmap.
| letter | The letter to find. |
Definition at line 45 of file PasswordPanel.cc.
| void mpg::PasswordPanel::onEraseBackground | ( | wxEraseEvent & | event | ) | [inline, private] |
Called to erase the background on this PasswordPanel.
| event | The triggering wxEraseEvent (unused). |
Definition at line 86 of file PasswordPanel.hh.
| void PasswordPanel::onPaint | ( | wxPaintEvent & | event | ) | [private] |
Called to paint this PasswordPanel.
| event | The triggering wxPaintEvent (unused). |
Definition at line 52 of file PasswordPanel.cc.
| void mpg::PasswordPanel::setPassword | ( | const Password * | password | ) | [inline] |
Sets the password string drawn by this PasswordPanel.
| password | The password. |
Definition at line 84 of file PasswordPanel.hh.
wxBitmap mpg::PasswordPanel::alphabet [private] |
Definition at line 37 of file PasswordPanel.hh.
const Password* mpg::PasswordPanel::password [private] |
Definition at line 38 of file PasswordPanel.hh.
const int mpg::PasswordPanel::START_X = 4 [static, private] |
Definition at line 40 of file PasswordPanel.hh.
const int mpg::PasswordPanel::START_Y = 4 [static, private] |
Definition at line 41 of file PasswordPanel.hh.
const int mpg::PasswordPanel::CHARS_PER_ROW = 13 [static, private] |
Definition at line 42 of file PasswordPanel.hh.
const int mpg::PasswordPanel::CHAR_WIDTH = 16 [static, private] |
Definition at line 43 of file PasswordPanel.hh.
const int mpg::PasswordPanel::CHAR_HEIGHT = 16 [static, private] |
Definition at line 44 of file PasswordPanel.hh.
1.5.4